package main


import "fmt"


//struct里嵌套interface

type Cars interface{

	Price()
}

type Goods struct {

	Car Cars
}



type bwm struct{}


func (b *bwm) Price(){

	fmt.Println("1111")
}
func main(){

	var goods = &Goods{&bwm{}}
	fmt.Println(goods)
}


